<?php
namespace app\model;
use think\Model;

class OrderInfo extends Model
{
	protected $pk = 'id';
	//protected $table = 'think_user';

    public function findProduct()
    {
        return $this->hasOne('\app\model\Product','sn','product_no');
    }

    public function findGood()
    {
        return $this->hasOne('\app\model\Product','sn','product_no');
    }

}